package com.office.service.impl;

import com.office.bean.TLoginlog;
import com.office.mapper.LoginStatus;
import com.office.service.LoginStatuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class LoginStatusServiceimpl implements LoginStatuService {

    @Autowired
    LoginStatus loginmapper;

    @Override
    public int addstatus(TLoginlog log) {
        return loginmapper.addlogins(log);
    }

    @Override
    public List<TLoginlog> logLists(String no) {
        return loginmapper.loginstatus(no);
    }
}
